package elm.common.domain.entity;

import java.io.Serializable;

/**
 * (Cart)实体类
 *
 * @author makejava
 * @since 2024-07-08 15:41:34
 */
public class Cart implements Serializable {
    private static final long serialVersionUID = -33655430827912359L;
/**
     * 无意义编号
     */
    private Integer cartid;
/**
     * 食品编号
     */
    private Integer foodid;
/**
     * 所属商家编号
     */
    private Integer businessid;
/**
     * 所属用户编号
     */
    private String userid;
/**
     * 同一类型食品的购买数量
     */
    private Integer quantity;


    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getFoodid() {
        return foodid;
    }

    public void setFoodid(Integer foodid) {
        this.foodid = foodid;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

}

